﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Linq;
using System.Text;

namespace ASelect.Service.Contracts
{
    /// <summary>
    /// The AccountDetails object contains the data contract
    /// for the details of an Account.
    /// </summary>
    [DataContract]
    public class AccountDetails
    {
        /// <summary>
        /// The number of the Account.
        /// </summary>
        [DataMember]
        public string Number { get; set; }

        /// <summary>
        /// The role of the Account as a RoleDetails object.
        /// </summary>
        [DataMember]
        public RoleDetails Role { get; set; }

        /// <summary>
        /// The last time the Account logged in.
        /// </summary>
        [DataMember]
        public DateTime LastLogin { get; set; }
    }
}
